package com.sun.BmobDemo;

import cn.bmob.v3.BmobObject;


public class UserAccount extends BmobObject {
    private String name;
    private String pwd;
    private String phoneNum;
    private Sex sex;
    private String pwdQusstion;
    private String pwdAnswer;

    public void setName(String name) {
        this.name = name;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public void setSex(Sex sex) {
        this.sex = sex;
    }

    public void setPwdQusstion(String pwdQusstion) {
        this.pwdQusstion = pwdQusstion;
    }

    public void setPwdAnswer(String pwdAnswer) {
        this.pwdAnswer = pwdAnswer;
    }

    public String getName() {
        return name;
    }

    public String getPwd() {
        return pwd;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public Sex getSex() {
        return sex;
    }

    public String getPwdQusstion() {
        return pwdQusstion;
    }

    public String getPwdAnswer() {
        return pwdAnswer;
    }

    @Override
    public String toString() {
        return "UserAccount{" +
                "name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", sex=" + sex +
                ", pwdQusstion='" + pwdQusstion + '\'' +
                ", pwdAnswer='" + pwdAnswer + '\'' +
                '}';
    }
}
